package com.springcloud.sc.ucpv5.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.springcloud.sc.ucp.v5.api.entity.JobUcpSchedule;
import com.springcloud.sc.ucpv5.client.commondata.MyGroup;
import com.springcloud.sc.ucpv5.client.commondata.data.UserInfo;

import java.util.List;

public interface JobUcpScheduleService extends IService<JobUcpSchedule> {
    boolean saveJobUcpSchedule(String id, String json , String jobName);
    boolean saveEntityByMyGroup(MyGroup myGroup , String jobName);
    boolean saveEntityByUserInfo(UserInfo userInfo , String jobName);
    boolean deleteEntityByUserInfo(UserInfo userInfo , String jobName);
    List<JobUcpSchedule> getListByUnsent();
    Integer updateEntity(JobUcpSchedule entity);
    // wsy 20190609 z=增加操作任务下发
    boolean saveEntityByOperData(String data, String jobName);
}
